#pragma once
#include "Header.h"
#include "Util.h"

ULONG KeCapturePersistentThreadState(
    PCONTEXT pContext,
    PETHREAD pThread,
    ULONG ulBugCheckCode,
    ULONG_PTR ulpBugCheckParam1,
    ULONG_PTR ulpBugCheckParam2,
    ULONG_PTR ulpBugCheckParam3,
    ULONG_PTR ulpBugCheckParam4,
    PVOID pvDump
);

NTSTATUS InitGetVersion(OUT PULONG lpdwVersion);

NTSTATUS InitializeGlobalValues(IN ULONG dwVersion);

NTSTATUS InitControlDeviceObject(IN PDRIVER_OBJECT lpDriverObject, OUT PDEVICE_OBJECT* lpDeviceObject);
